{% extends "badmin/cadet/base.html" %}

{% block title %}{{ block.super }} &gt; List{% endblock %}

{% block body_class %}{{ block.super }} list{% endblock %}

{% block heading %}Cadets{% endblock %}

{% block content %}
{% if instance_list %}
<table border="0">
	<tr>
		<th>Last Name</th>
		<th>First Name</th>
	</tr>
	{% for instance in instance_list %}
	<tr>
		<td><a href="{{ instance.view_url }}">{{ instance.last_name }}</a></td>
		<td>{{ instance.first_name }}</td>
	</tr>
	{% endfor %}
</table>
{% else %}
<p>No cadets</p>
{% endif %}
{% endblock %}
